/*
 * ============================================================================
 *
 *       Filename:  tools.h
 *
 *       Version:  1.0
 *       Created:  09/30/2011 08:56:42 PM
 *       Compiler:  gcc
 *
 *       Author:  durand_y, <yoan.durand@gmail.com>
 *
 * ============================================================================
 */
#ifndef TOOLS_H_
# define TOOLS_H_

# include <unistd.h>
# include <stdlib.h>

/**
 ** @fn mystrlen
 ** @param str
 ** @return Return the lenght of the string
 */
int     mystrlen(char       *str);
/*
 * compare two string
 */
int     mystrcmp(char       *str1,
                 char       *str2);
/*
 * concatenate two string
 */
char    *mystrcat(char      *str1,
                char        *str2);
/*
 * extracte the end of the string
 */
char    *extract_end(char   *str);
/*
 * convert string to int
 */
int     my_atoi(char        *s);

#endif /* TOOLS_H_ */
